package mypackage;

public class B extends A{
    @Override
    public void paint() {
        System.out.println("B...");
    }
}
